package com.cyzy.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class OrderDto {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long orderId;
    private long passengerId;
    private long driverId;
    private String startAddress;
    private String endAddress;
    private java.sql.Timestamp createTime;
    private java.sql.Timestamp completeTime;
    private double price;
    private String username;
    private String userphone;
    private String modelName;
    private Integer orderStatus;
    private Integer orderState;
    private Long startLat;
    private Long startLng;
    private Long endLat;
    private Long endLng;
}
